home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-10-01 | 3.1 KB | 72 lines | [TEXT/unix] |
- Metrowerks/AppsToGo Installation:
-
- 1) Start with a new copy of CodeWarrior CW4.
- 2) Copy the AppsToGo package your machine.
-
- Now that everything is on the same hard disk, you need to first get the AppsToGo header files
- placed correctly and precompiled.
-
- Copy the “DTS.Lib.headers” folder into the CodeWarrior project folder. A good place is the
- “Metrowerks C/C++ ƒ” folder.
-
- Now open the copy of “DTS.Lib.headers” and double-click on “DTS2Headers.project”. Single-click
- on the DTS2Headers entry in the project (so that the precompile menu option is no longer
- grayed out). Precompile. (This will take a while.)
-
- When the precompile finally finishes, save as “DTS2Headers”. The current directory is a fine
- place to save the precompiled headers.
-
- Repeat the precompile process for “DTS2Headers.project”. The “DTS2Headers” are for 68k, and
- the “DTS3Headers” are for PPC.
-
- One this process is done, then the libraries need to be built for both 68k and PPC.
-
- To build the libraries, first open the “DTS.Lib folder.” You will find three directories:
-
- DTS1 (THINK)
- DTS2 (MW.68k)
- DTS3 (MW.PPC)
-
- View the window in “View by name” mode. Then single-click on the triangle for “DTS2 (MW.68k)”
- to view the contents in-line. Select the contents, and then drag the selected contents above
- “DTS1 (THINK)” and drop it. This moves the contents of “DTS1 (THINK)” to the same level as all
- of the source files.
-
- If you do not do the above step, when you try to build the libraries, CW will not be able to
- find the source files. The project file needs to be at the same directory level or higher
- than the source files.
-
- Once you have the project files for the libraries placed correctly, just double-click the first
- one and do a command-M to make the library. It will be saved right by the project file. Do
- all of the “DTS2 (MW.68k)” libraries in this fashion.
-
- Once they are all made, you will want to move them into a CW folder for libraries. Inside of
- “Metrowerks C/C++ ƒ:Libraries ƒ”. I create a directory called “ATG.68k.libraries” and move
- the libraries into this.
-
- Once the libraries are built, you can move the project files back into the “DTS2 (MW.68k)”
- folder. There should be 11 AppsToGo libraries for the 68k side of Metrowerks.
-
- Repeat this process for “DTS3 (MW.PPC)”. You are now ready to build either 68k or PPC
- applications with AppsToGo and Metrowerks. There should only be 10 libraries for the
- PPC side of Metrowerks, since one of the AppsToGo libraries is balloon help support for
- system 6. This is obviously useless on the PPC side.
-
- Now for building the sample applications:
-
- Let's assume that you want to build AppWannabe. Open that folder, but before building,
- you need to set up just one thing.
-
- The .rsrc file is set up for THINK. Leave it this way. Single-click on it, and then
- create an alias. Rename the alias “AppWannabe.µ.68k.rsrc”. Create another and rename
- it “AppWannabe.µ.PPC.rsrc”. You are now ready to build via the Metrowerks project files that are in the AppWannabe folder.
-
- For any AppsToGo sample application, you will need to do the above alias strategy for
- the .rsrc file.
-
- That's all there is to it!! Have a party...
-
-
- Eric Soldan, Apple DTS
-
-